﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true" CodeFile="WIN11_4A.aspx.cs" Inherits="IFRS_WIN11_4A" %>

<%@ Register Assembly="vsm.CustomControl" Namespace="vsm.CustomControl" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        window.SetValueGLAccount = function (Value1, Value2) {
            document.getElementById("<%= hidGL_ACCOUNT.ClientID %>").value = Value1;
            document.getElementById("<%= txtGL_ACCOUNT.ClientID %>").value = Value2;
        }

        window.SetValueCostCenter = function (Value1, Value2) {
            document.getElementById("<%= hidCOST_CENTER.ClientID %>").value = Value1;
            document.getElementById("<%= txtCOST_CENTER.ClientID %>").value = Value2;
        }

        window.SetValueCurrency = function (Value1, Value2) {
            document.getElementById("<%= hidCURRENCY_CODE.ClientID %>").value = Value1;
            document.getElementById("<%= txtCURRENCY_CODE.ClientID %>").value = Value2;
        }

        window.SetValueCustomer = function (Value1, Value2) {
            document.getElementById("<%= hidCUSTOMER_ID.ClientID %>").value = Value1;
            document.getElementById("<%= txtCUSTOMER.ClientID %>").value = Value2;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <fieldset class="fsStandard" style="padding-bottom: 5px;">
                <div class="table_detail">
                    <asp:PlaceHolder ID="form_control" runat="server">
                    <div class="rowinfo">
                        <div class="collabel">
                            <asp:Label ID="lblTRANSACTION_DATE" runat="server" Text="<%$Resources:ifrsField,DATE_TRANSACTION%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <asp:TextBox ID="txtTRANSACTION_DATE" runat="server" SkinID="TextBoxWithNoColor" CssClass="datepicker"></asp:TextBox>
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqTRANSACTION_DATE" runat="server"></asp:RequiredFieldValidator>
                        </div>
                        <div class="collabel">
                            <asp:Label ID="lblACCOUNT_NO" runat="server" Text="<%$Resources:ifrsField,NO_ACCOUNT%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <asp:TextBox ID="txtACCOUNT_NO" runat="server" SkinID="TextBoxWithNoColor"></asp:TextBox>
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqACCOUNT_NO" runat="server"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="rowinfo">
                        <div class="collabel">
                            <asp:Label ID="lblGL_ACCOUNT" runat="server" Text="<%$Resources:ifrsField,GL_ACCOUNT%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <cc1:TextboxAutoComplete ID="txtGL_ACCOUNT" runat="server" SkinID="TextBoxWithNoColor"></cc1:TextboxAutoComplete>
                            <asp:Button ID="btnGL_ACCOUNT" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>"
                                CausesValidation="False" />
                            <asp:HiddenField ID="hidGL_ACCOUNT" runat="server" />
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqGL_ACCOUNT" runat="server"></asp:RequiredFieldValidator>
                        </div>
                        <div class="collabel">
                            <asp:Label ID="lblCOST_CENTER" runat="server" Text="<%$Resources:ifrsField,COST_CENTER%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <cc1:TextboxAutoComplete ID="txtCOST_CENTER" runat="server" SkinID="TextBoxWithNoColor"></cc1:TextboxAutoComplete>
                            <asp:Button ID="btnCOST_CENTER" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>"
                                CausesValidation="False" />
                            <asp:HiddenField ID="hidCOST_CENTER" runat="server" />
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqCOST_CENTER" runat="server"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="rowinfo">
                        <div class="collabel">
                            <asp:Label ID="lblSTARTED_DATE" runat="server" Text="<%$Resources:ifrsField,FCD_STARTEDDATE%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <asp:TextBox ID="txtSTARTED_DATE" runat="server" SkinID="TextBoxWithNoColor" CssClass="datepicker"></asp:TextBox>
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqSTARTED_DATE" runat="server"></asp:RequiredFieldValidator>
                        </div>
                        <div class="collabel">
                            <asp:Label ID="lblEND_DATE" runat="server" Text="<%$Resources:ifrsField,FCD_ENDDATE%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <asp:TextBox ID="txtEND_DATE" runat="server" SkinID="TextBoxWithNoColor" CssClass="datepicker"></asp:TextBox>
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqEND_DATE" runat="server"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="rowinfo">
                        <div class="collabel">
                            <asp:Label ID="lblCURRENCY_CODE" runat="server" Text="<%$Resources:ifrsField,CURRENCYCODE%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <cc1:TextboxAutoComplete ID="txtCURRENCY_CODE" runat="server" SkinID="TextBoxWithNoColor"></cc1:TextboxAutoComplete>
                            <asp:Button ID="btnCURRENCY_CODE" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>"
                                CausesValidation="False" />
                            <asp:HiddenField ID="hidCURRENCY_CODE" runat="server" />
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqCURRENCY_CODE" runat="server"></asp:RequiredFieldValidator>
                        </div>
                        <div class="collabel">
                            <asp:Label ID="lblUNPAIDCAPITAL" runat="server" Text="<%$Resources:ifrsField,UNPAIDCAPITAL%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <cc1:TextboxNumber ID="txtUNPAIDCAPITAL" runat="server" SkinID="TextBoxWithNoColor" TypeTextbox="Currency" 
                                AllowMaximumNumber="999999999" AllowNegativeNumber="True" DigitDecimal="2" />
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqUNPAIDCAPITAL" runat="server"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="rowinfo">
                        <div class="collabel">
                            <asp:Label ID="lblINTEREST_RATE" runat="server" Text="<%$Resources:ifrsField,FCD_INTEREST_RATE%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <cc1:TextboxNumber ID="txtINTEREST_RATE" runat="server" SkinID="TextBoxWithNoColor" TypeTextbox="Currency" 
                                AllowMaximumNumber="999999999" AllowNegativeNumber="True" DigitDecimal="2" />%
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqINTEREST_RATE" runat="server"></asp:RequiredFieldValidator>
                        </div>
                        <div class="collabel">
                            <asp:Label ID="lblDAY_COUNT_METHOD" runat="server" Text="<%$Resources:ifrsField,DAY_COUNT_METHOD%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <asp:DropDownList ID="ddlDAY_COUNT_METHOD" runat="server" SkinID="DropDownListWithNoColor" />
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqDAY_COUNT_METHOD" runat="server"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="rowinfo">
                        <div class="collabel">
                            <asp:Label ID="lblINTEREST_PAYMENT_FREQ" runat="server" Text="<%$Resources:ifrsField,INTERESTPAYMENTFREQ%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <cc1:TextboxNumber ID="txtINTEREST_PAYMENT_FREQ" runat="server" TypeTextbox="Currency" 
                                AllowMaximumNumber="999999999" AllowNegativeNumber="True" DigitDecimal="0" />
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqINTEREST_PAYMENT_FREQ" runat="server"></asp:RequiredFieldValidator>
                        </div>
                        <div class="collabel">
                            <asp:Label ID="lblINTEREST_PAYMENT_FREQTIMEBASE" runat="server" Text="<%$Resources:ifrsField,INTERESTPAYMENTFREQTIMEBASE%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <asp:DropDownList ID="ddlINTEREST_PAYMENT_FREQTIMEBASE" runat="server" SkinID="DropDownListWithNoColor" />
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqINTEREST_PAYMENT_FREQTIMEBASE" runat="server"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="rowinfo">
                        <div class="collabel">
                            <asp:Label ID="lblPAYMENT_CONDITION" runat="server" Text="<%$Resources:ifrsField,PAYMENT_CONDITION%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <asp:DropDownList ID="ddlPAYMENT_CONDITION" runat="server" SkinID="DropDownListWithNoColor" />
                            <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqPAYMENT_CONDITION" runat="server"></asp:RequiredFieldValidator>
                        </div>
                        <div class="collabel">
                            <asp:Label ID="lblCUSTOMER" runat="server" Text="<%$Resources:ifrsField,CustomerID%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <cc1:TextboxAutoComplete ID="txtCUSTOMER" runat="server" SkinID="TextBoxWithNoColor"></cc1:TextboxAutoComplete>
                            <asp:Button ID="btnCUSTOMER" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>"
                                CausesValidation="False" />
                            <asp:HiddenField ID="hidCUSTOMER_ID" runat="server" />
                        </div>
                    </div>
                    <div class="rowinfo">
                        <div class="collabel">
                        </div>
                        <div class="colinfo">
                        </div>
                        <div class="collabel">
                            <asp:Label ID="lblIS_CONFIRMED" runat="server" Text="<%$Resources:ifrsField,LIST_STATUS%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo">
                            <asp:TextBox ID="txtIS_CONFIRMED" runat="server" SkinID="TextBoxWithNoColor" Text="<%$Resources:ifrsField,CREATE%>"></asp:TextBox>
                        </div>
                    </div>
                    </asp:PlaceHolder>
                </div>
                <div class="colbtn">
                    <asp:Button ID="btnSAVE_NEW" runat="server" Text="<%$Resources:ifrsButton,SAVE_NEW%>" onclick="btnSAVE_NEW_Click" />&nbsp;
                    <asp:Button ID="btnSAVE" runat="server" Text="<%$Resources:ifrsButton,SAVE%>" onclick="btnSAVE_Click" />&nbsp;
                    <asp:Button ID="btnCLEAR" runat="server" Text="<%$Resources:ifrsButton,CLEAR%>" OnClick="btnCLEAR_Click" />&nbsp;
                    <asp:Button ID="btnCANCEL" runat="server" CausesValidation="false"
                        Text="<%$Resources:ifrsButton,CANCEL%>" onclick="btnCANCEL_Click"  />
                    &nbsp;
                </div>
            </fieldset>
        </div>
    </div>
    <script src="../Content/js/Currency.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="../Content/plugins/custom.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $(".datepicker").initDatepicker();
        });
    </script>
</asp:Content>

